package cn.zust.itcost.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author YXZhou
 * @since 2024-03-13
 */
@TableName("cv")
public class Cv implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户标识
     */
    @TableId("user_id")
    private Integer userId;

    /**
     * 先居住地
     */
    @TableField("live_city")
    private String liveCity;

    /**
     * 期望工作城市
     */
    @TableField("desire_city")
    private String desireCity;

    /**
     * 期望行业
     */
    @TableField("desire_industry")
    private String desireIndustry;

    /**
     * 期望职类
     */
    @TableField("desire_id_type")
    private String desireIdType;

    /**
     * 期望薪水
     */
    @TableField("desire_id_salary_id")
    private Integer desireIdSalaryId;

    /**
     * 最近工作行业
     */
    @TableField("cur_industry")
    private String curIndustry;

    /**
     * 最近工作职类
     */
    @TableField("cur_jb_type")
    private String curJbType;

    /**
     * 最近薪水
     */
    @TableField("cur_salary")
    private String curSalary;

    /**
     * 学历
     */
    @TableField("degree")
    private String degree;

    /**
     * 年龄
     */
    @TableField("age")
    private Integer age;

    /**
     * 开始工作时间
     */
    @TableField("start_work_date")
    private LocalDateTime startWorkDate;

    /**
     * 经验
     */
    @TableField("experience")
    private String experience;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLiveCity() {
        return liveCity;
    }

    public void setLiveCity(String liveCity) {
        this.liveCity = liveCity;
    }

    public String getDesireCity() {
        return desireCity;
    }

    public void setDesireCity(String desireCity) {
        this.desireCity = desireCity;
    }

    public String getDesireIndustry() {
        return desireIndustry;
    }

    public void setDesireIndustry(String desireIndustry) {
        this.desireIndustry = desireIndustry;
    }

    public String getDesireIdType() {
        return desireIdType;
    }

    public void setDesireIdType(String desireIdType) {
        this.desireIdType = desireIdType;
    }

    public Integer getDesireIdSalaryId() {
        return desireIdSalaryId;
    }

    public void setDesireIdSalaryId(Integer desireIdSalaryId) {
        this.desireIdSalaryId = desireIdSalaryId;
    }

    public String getCurIndustry() {
        return curIndustry;
    }

    public void setCurIndustry(String curIndustry) {
        this.curIndustry = curIndustry;
    }

    public String getCurJbType() {
        return curJbType;
    }

    public void setCurJbType(String curJbType) {
        this.curJbType = curJbType;
    }

    public String getCurSalary() {
        return curSalary;
    }

    public void setCurSalary(String curSalary) {
        this.curSalary = curSalary;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public LocalDateTime getStartWorkDate() {
        return startWorkDate;
    }

    public void setStartWorkDate(LocalDateTime startWorkDate) {
        this.startWorkDate = startWorkDate;
    }

    public String getExperience() {
        return experience;
    }

    public void setExperience(String experience) {
        this.experience = experience;
    }

    @Override
    public String toString() {
        return "Cv{" +
            "userId = " + userId +
            ", liveCity = " + liveCity +
            ", desireCity = " + desireCity +
            ", desireIndustry = " + desireIndustry +
            ", desireIdType = " + desireIdType +
            ", desireIdSalaryId = " + desireIdSalaryId +
            ", curIndustry = " + curIndustry +
            ", curJbType = " + curJbType +
            ", curSalary = " + curSalary +
            ", degree = " + degree +
            ", age = " + age +
            ", startWorkDate = " + startWorkDate +
            ", experience = " + experience +
        "}";
    }
}
